import cv2
import numpy as np

img=cv2.imread('CV-Pictures/015.jpg')
# img=np.zeros((600,600),np.uint8)
# cv2.circle(img,(300,300),120,(255,255,255),-1)
cv2.imshow("img",img)
# kernel=np.ones((55,55),np.uint8)
kernel=cv2.getStructuringElement(cv2.MORPH_ELLIPSE,(5,5))
erode_img=cv2.erode(img,kernel,iterations=5)
cv2.imshow('erode_img',erode_img)
cv2.waitKey(0)
cv2.destroyAllWindows()